#pragma once

#include <gl/glew.h>

#include "matrixmath.h"
#include "physicsobject.h"
#include "pickable.h"

class Module;

class Link:public PhysicsObject, public Pickable{
    public:
        Link(float x, float y, float z);

        void Draw();
        void Pick();

        void SetPartner(Link* p){ partner = p; }

    private:
        bool linked;

        Link* partner;
        Module* parent;
};
